package com.shop.service;

import com.shop.entity.BrandCountChart;
import com.shop.entity.BrandPriceChart;
import com.shop.entity.Phone;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.entity.PhoneAttr;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2023-03-04
 */
public interface PhoneService extends IService<Phone> {
    public static final String  NOT_DEL = "1";
    public static final String  DEL = "0";

    List<Integer> getPhoneMemory();

    List<Integer> getPhoneDisk();

    List<Phone> queryByAttr(PhoneAttr phone);

    Integer countByAttr(PhoneAttr phoneAttr);

    List<BrandCountChart> getBrandCount();

    List<BrandPriceChart> getBrandPriceCount();
}
